package cn.sylinx.horm.resource.parse;

import cn.sylinx.horm.resource.lexer.IFToken;

/**
 * if 描述
 * 
 * @author johnhan
 *
 */
public class IFConditionBlock extends ConditonBlock {

    private IFToken ifToken;

    public IFConditionBlock(IFToken ifToken) {
        this.ifToken = ifToken;
    }

    public IFToken getIfToken() {
        return ifToken;
    }

    public void setIfToken(IFToken ifToken) {
        this.ifToken = ifToken;
    }

    @Override
    public String toString() {
        return "IFConditionBlock [ifToken=" + ifToken + ", getNodes()=" + getNodes() + "]";
    }

}
